package com.nsu.cl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 科目表
 * @TableName subject
 */
@TableName(value ="subject")
@Data
public class Subject implements Serializable {
    /**
     * 科目ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 科目名
     */
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}